<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="zh-cn" xml:lang="zh-cn">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="备份前准备">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="hbase_00007.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
<meta name="DC.Publisher" content="20240320">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="hbase_00010">
<meta name="DC.Language" content="zh-cn">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>备份前准备</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="hbase_00010"></a><a name="hbase_00010"></a>

<h1 class="topictitle1">备份前准备</h1>
<div><p>备份HBase集群前，请参考以下内容提前准备相关信息。</p>
<ul><li><a href="#hbase_00010__table481544017344">表1</a>为必须获取的信息。</li><li><a href="#hbase_00010__table17163125610819">表2</a>为HBase集群与<span>OceanProtect</span>通信的认证模式为<span class="uicontrol">“<span>Simple认证</span>”</span>时，才需要获取的信息。</li><li><a href="#hbase_00010__table8758104318915">表3</a>为HBase集群与<span>OceanProtect</span>通信的认证模式为<span class="uicontrol">“<span>Kerberos认证</span>”</span>时，才需要获取的信息。</li></ul>

<div class="tablenoborder"><a name="hbase_00010__table481544017344"></a><a name="table481544017344"></a><table cellpadding="4" cellspacing="0" summary="" id="hbase_00010__table481544017344" frame="border" border="1" rules="all"><caption><b>表1 </b>备份前准备</caption><colgroup><col style="width:18.310000000000002%"><col style="width:14.62%"><col style="width:50.73%"><col style="width:16.34%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="18.310000000000002%" id="mcps1.3.3.2.5.1.1"><p>准备项</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="14.62%" id="mcps1.3.3.2.5.1.2"><p>是否必须</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50.73%" id="mcps1.3.3.2.5.1.3"><p>获取方式</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.34%" id="mcps1.3.3.2.5.1.4"><p>数据使用章节</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="18.310000000000002%" headers="mcps1.3.3.2.5.1.1 "><p>hbase-site.xml</p>
</td>
<td class="cellrowborder" valign="top" width="14.62%" headers="mcps1.3.3.2.5.1.2 "><p>必选</p>
</td>
<td class="cellrowborder" rowspan="3" valign="top" width="50.73%" headers="mcps1.3.3.2.5.1.3 "><p>具体获取方式请参见<a href="hbase_00012.html#hbase_00012__zh-cn_topic_0000001249935107_section10758914153313">前提条件</a>。</p>
<p></p>
<p></p>
</td>
<td class="cellrowborder" rowspan="3" valign="top" width="16.34%" headers="mcps1.3.3.2.5.1.4 "><p><a href="hbase_00012.html">步骤1：注册HBase集群</a></p>
<p></p>
<p></p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p>hdfs-site.xml</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>必选</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.1 "><p>core-site.xml</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.5.1.2 "><p>必选</p>
</td>
</tr>
</tbody>
</table>
</div>

<div class="tablenoborder"><a name="hbase_00010__table17163125610819"></a><a name="table17163125610819"></a><table cellpadding="4" cellspacing="0" summary="" id="hbase_00010__table17163125610819" frame="border" border="1" rules="all"><caption><b>表2 </b>Simple认证所需信息</caption><colgroup><col style="width:19.41%"><col style="width:13.52%"><col style="width:50.73%"><col style="width:16.34%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="19.41%" id="mcps1.3.4.2.5.1.1"><p>准备项</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.52%" id="mcps1.3.4.2.5.1.2"><p>是否必须</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50.73%" id="mcps1.3.4.2.5.1.3"><p>获取方式</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.34%" id="mcps1.3.4.2.5.1.4"><p>数据使用章节</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="19.41%" headers="mcps1.3.4.2.5.1.1 "><p>认证用户名</p>
</td>
<td class="cellrowborder" valign="top" width="13.52%" headers="mcps1.3.4.2.5.1.2 "><p>必选</p>
</td>
<td class="cellrowborder" valign="top" width="50.73%" headers="mcps1.3.4.2.5.1.3 "><p>请向大数据平台管理员获取。</p>
<div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p>用户名需要对要访问的资源具备读写权限。</p>
</div></div>
</td>
<td class="cellrowborder" valign="top" width="16.34%" headers="mcps1.3.4.2.5.1.4 "><p><a href="hbase_00012.html">步骤1：注册HBase集群</a></p>
</td>
</tr>
</tbody>
</table>
</div>

<div class="tablenoborder"><a name="hbase_00010__table8758104318915"></a><a name="table8758104318915"></a><table cellpadding="4" cellspacing="0" summary="" id="hbase_00010__table8758104318915" frame="border" border="1" rules="all"><caption><b>表3 </b>Kerberos认证所需信息</caption><colgroup><col style="width:19.41%"><col style="width:13.52%"><col style="width:50.73%"><col style="width:16.34%"></colgroup><thead align="left"><tr><th align="left" class="cellrowborder" valign="top" width="19.41%" id="mcps1.3.5.2.5.1.1"><p>准备项</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="13.52%" id="mcps1.3.5.2.5.1.2"><p>是否必须</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="50.73%" id="mcps1.3.5.2.5.1.3"><p>获取方式</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="16.34%" id="mcps1.3.5.2.5.1.4"><p>数据使用章节</p>
</th>
</tr>
</thead>
<tbody><tr><td class="cellrowborder" valign="top" width="19.41%" headers="mcps1.3.5.2.5.1.1 "><p>Kerberos认证的主体名</p>
</td>
<td class="cellrowborder" valign="top" width="13.52%" headers="mcps1.3.5.2.5.1.2 "><p>必选</p>
</td>
<td class="cellrowborder" valign="top" width="50.73%" headers="mcps1.3.5.2.5.1.3 "><p>请向Kerberos服务器管理员获取主体名。</p>
<div class="note"><span class="notetitle"> 说明： </span><div class="notebody"><p>该主体名需要对要访问的资源具备读写权限。</p>
</div></div>
</td>
<td class="cellrowborder" rowspan="4" valign="top" width="16.34%" headers="mcps1.3.5.2.5.1.4 "><p><a href="hbase_00012.html">步骤1：注册HBase集群</a></p>
<p></p>
<p></p>
<p></p>
<p></p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.1 "><p>Kerberos认证过程中使用的<span class="filepath">“.conf”</span>配置文件（如：krb5.conf）</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.2 "><p>必选</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.3 "><p>请联系Kerberos服务器管理员从Kerberos服务器获取该文件。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.1 "><p>主体名的密码</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.2 "><p>可选</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.3 "><p>当Kerberos认证是通过密码方式认证的，需要获取主体名的密码。</p>
</td>
</tr>
<tr><td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.1 "><p><span class="filepath">“.keytab”</span>文件</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.2 "><p>可选</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.5.2.5.1.3 "><p>当Kerberos认证是通过keytab文件方式认证的，需要获取<span class="filepath">“.keytab”</span>文件。</p>
<p>请联系Kerberos服务器管理员从Kerberos服务器获取该文件。</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>父主题：</strong> <a href="hbase_00007.html">备份</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">版权所有 &copy; 华为技术有限公司</div></body>
</html>